<Window x:Class="BlastExplorer.GenomeDBLoader"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:gh="clr-namespace:BlastExplorer"
		Title="Select initial sequence from GenomeDB"
		WindowStyle="SingleBorderWindow"
		Width="350"
		Height="450" WindowStartupLocation="CenterOwner">
	<Window.Resources>
		<LinearGradientBrush x:Key="TheBrush"
							 EndPoint="0.5,1"
							 StartPoint="0.5,0">
			<GradientStop Color="#FF484C50"
						  Offset="0" />
			<GradientStop Color="#FF424242"
						  Offset="1" />
			<GradientStop Color="#FF151515"
						  Offset="0.781" />
		</LinearGradientBrush>

		<Style x:Key="TextBlockStyle"
			   TargetType="TextBlock">
			<Setter Property="Margin"
					Value="0 0 5 0" />
		</Style>

		<Style x:Key="TextBoxStyle"
			   TargetType="TextBox">
			<Setter Property="Margin"
					Value="0 0 5 0" />
		</Style>
	</Window.Resources>
	<Window.Background>
		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FF9CC7EF" Offset="0"/>
			<GradientStop Color="White" Offset="1"/>
		</LinearGradientBrush>
	</Window.Background>

	<Grid Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="*" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
		</Grid.RowDefinitions>

		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="auto" />
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>

		<TextBlock Text="Accession.version"
				   Grid.Column="0"
				   Grid.Row="0" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<TextBox Text="NC_000117.1"
				 Name="accessionField"
				 Grid.Column="1"
				 Grid.Row="0" Margin="5"/>

		<TextBlock Text="Locus Tag"
				   Grid.Column="0"
				   Grid.Row="1" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<TextBox Text="CT323"
				 Name="locusTagField"
				 Grid.Column="1"
				 Grid.Row="1" Margin="5"/>

		<TextBlock Text="Taxon"
				   Grid.Column="0"
				   Grid.Row="2" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<gh:TaxonSelector x:Name="taxonField"
						  Grid.Column="1"
						  Grid.Row="2"
						  Margin="5"
						  HorizontalAlignment="Stretch"
						  VerticalAlignment="Stretch"
						  />

		<TextBlock Text="E-value cutoff"
				   Grid.Column="0"
				   Grid.Row="3" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<StackPanel HorizontalAlignment="Left"
					Orientation="Horizontal"
					Grid.Row="3"
					Grid.Column="1"
					Margin="5">
			<TextBox Name="eValueCutoffField"
					 Width="100" />

			<TextBlock Text=" - primary BLAST" />

		</StackPanel>

		<StackPanel HorizontalAlignment="Left"
					Orientation="Horizontal"
					Grid.Row="4"
					Grid.Column="1"
					Margin="5">

			<TextBox Name="cddEValueCutoffField"
					 Width="100" />

			<TextBlock Text=" - conserved domains" />

		</StackPanel>



		<TextBlock Text="Hit list size"
				   Grid.Column="0"
				   Grid.Row="5" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<TextBox Name="hitListSizeField"
				Width="100"
				HorizontalAlignment="Left"
				  Grid.Row="5"
				  Grid.Column="1"
				  Margin="5"/>
				  
		<TextBlock Text="Use browser proxy"
				   Grid.Column="0"
				   Grid.Row="6" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />

		<CheckBox Name="useBrowserProxyField"
				  Grid.Row="6"
				  Grid.Column="1"
				  Margin="5"/>

		<StackPanel Grid.Row="7"
					Grid.Column="0"
					Orientation="Horizontal"
					HorizontalAlignment="Center" Grid.ColumnSpan="2" Margin="5">
			<Button Content="Open"
					Click="Load_Click"
					Margin="3,0" Width="45" Height="30" />
			<Button Content="Cancel"
					Click="Cancel_Click"
					Margin="3,0" Width="45" Height="30" />
		</StackPanel>
	</Grid>
</Window>
